<template>
  <div>
    <h2>用户</h2>
    <p>用户信息</p>
    <h5>{{userId}}</h5>
    <h4>{{$route.params.userId}}</h4>
  </div>
</template>

<script>
  export default {
    name: "User",
    // created() {
    //   document.title = '用户'
    // },
    computed: {
      userId() {
        return this.$route.params.userId
      }
    }
  }
</script>

<style scoped>

</style>
